package com.ht.medicaltreatment.fragment.haocai2

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.ht.medicaltreatment.R
import com.ht.medicaltreatment.bean.ApplyProjectConsumableRecordDetails

class ConsumableRecordChildAdapter :
    BaseQuickAdapter<ApplyProjectConsumableRecordDetails, BaseViewHolder>(R.layout.item_consumable_record_child_layout) {
    override fun convert(holder: BaseViewHolder, item: ApplyProjectConsumableRecordDetails) {
        holder.setText(R.id.tvName,item.projectConsumable.consumable.model)
        holder.setText(R.id.tvNumber,"x${item.useNumber}")
    }
}
